<template>
	<view>
		<custom-navigation-bar title="招募管家"></custom-navigation-bar>
		<view style="width: 100%;float: left;height: auto;margin-top: 160rpx;">
			<image @click="previewImage" :src="imgUrl" style="width: 100%;" mode="widthFix"></image>
		</view>
	</view>
</template>

<script setup> 
	import CustomNavigationBar from '@/components/CustomNavigationBar.vue'; 
	const imgUrl=ref('https://love.lovein37.com/upload/application/86a00b3e4307cd0368382feeb96f6d97.jpg');
	function previewImage(e) { 
		console.log("1111111")
		wx.previewImage({
		  current: imgUrl.value, // 当前显示的图片链接
		  urls: [
			imgUrl.value
		  ],
		  success: function(res) {
			// 预览成功的回调函数
		  },
		  fail: function(err) {
			// 预览失败的回调函数
		  }
		});
  }
</script>

<style>
</style>